package design.p10_bridge;

/**
 * @ClassName: Java
 * @description:
 * @author: zxf
 * @create: 2021-06-18 12:10
 **/
public class MyBridge extends Bridge{
    @Override
    public void method() {
        super.method();
    }

    public static void main(String[] args) {
        Bridge bridge = new MyBridge();
        bridge.setSource(new SourceSub2());
        bridge.method();
    }
}

